/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cr.ac.una.sive.entidadLocal;

import cr.ac.una.sive.entidad.Incidente;

/**
 *
 * @author claribel
 */
public class IncidenteLocal extends Incidente{
    
    private boolean selected;

    public IncidenteLocal(Incidente incidente) {
        this.setDescripcion(incidente.getDescripcion());
        this.setFecha(incidente.getFecha());
        this.setGravedad(incidente.getGravedad());
        this.setHora(incidente.getHora());
        this.setIdIncidente(incidente.getIdIncidente());
        this.setNombreRegistrante(incidente.getNombreRegistrante());
        this.setNumeroEstacionamiento(incidente.getNumeroEstacionamiento());
        this.setPlaca(incidente.getPlaca());
        this.setVehiculo(incidente.getVehiculo());
        this.selected = false;
    }

    public IncidenteLocal() {
    }
    
    public void setSelected(boolean selected) {
        this.selected = selected;
    }

    public boolean isSelected() {
        return selected;
    }
    
}
